package Text1;

public class Manage extends Employee{
    private int bonus;

    public Manage(String name, int id, String salary) {
        super(name, id, salary);
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    @Override
    public String work() {
        return this.getName()+getSalary();
    }
}
